﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RiaToDalLinq.Attributes
{
    /// <summary>
    /// Maps a RIA entity to the DAL entity
    /// </summary>
    [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)]
    public class EntityMap : Attribute
    {
        private Type _entityType = null;

        public EntityMap(Type entityType)
        {
            _entityType = entityType;
        }

        public Type EntityType
        {
            get
            {
                return _entityType;
            }
        }
    }
}
